Clearing the Record Filter

Description

This demonstration of Action Scripting adds a button to the Edit_Customer_Info form. This script will remove any restrictions to the records that the form displays.

  1. Sketch a button on the form.

  2. Enter "Clear" into the Label field.

  3. Click Launch Script Editor.

  4. Click Add New Action.

  5. Select "Query" from the Category list and "Run Custom Query" from the Action list. Click OK.

  6. Enter ".t." into the Filter field.

  7. The result looks like this.

    images/AL_form_edit_customer_info_clear_filter.png
  8. Click Next >, Finish, Close (X), and Save All.

Limitations

Desktop applications only. Not available in Community Edition.

See Also